home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Magnum One
/
Magnum One (Mid-American Digital) (Disc Manufacturing).iso
/
d13
/
pcrjan89.arc
/
GETDATE.SCR
< prev
next >
Wrap
Text File
|
1990-03-21
|
484b
|
13 lines
N GETDATE.COM ;Name program
A 100 ;Start assembly
MOV AH,2A ;DOS function: get date
INT 21 ;Call DOS (returns day of month in DL)
MOV AL,DL ;Move date in DL to AL register
MOV AH,4C ;DOS function: terminate with return code
INT 21 ;Call DOS (with return code in AL)
RCX ;Set CX to write 10 bytes (0A hexadecimal)
0A
W ;Write file to disk
Q ;Quit DEBUG